package com.mydemo.spring.state_machine;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.statemachine.StateMachine;

/**
 * <p></p >
 *
 * @author liming1
 * @version $Id: BizOrderMachineBuilder, v1.0 2019-09-25 10:18 liming1 Exp $
 */
public interface BizOrderMachineBuilder {

    String name();

    StateMachine<BizStateEnum, BizOrderStatusChangeEventEnum> build(BeanFactory beanFactory) throws Exception;

    String BUILD_NAME_1 = "build1";

    String BUILD_NAME_2 = "build2";

}
